package example

import (
	"proto/example"
	"test_client/logic/gate/api"
)

type exampleRpc struct {
}

var (
	rpc = new(exampleRpc)
)

func (*exampleRpc) Echo(content string, number int) {
	msg := new(proto_example.Echo)
	msg.Content = content
	msg.Number = int32(number)

	gate_api.Send(msg)
}
